This patch adds a checking of wrong parameter into xm dmesg command.
authorEwan Mellor <ewan@xensource.com>
Wed, 1 Nov 2006 15:56:55 +0000 (15:56 +0000)
committerEwan Mellor <ewan@xensource.com>
Wed, 1 Nov 2006 15:56:55 +0000 (15:56 +0000)
commit54ab7bfb1a72ed3c74e3867e265867e3f9b9c7d8
treed00d81434e807f0add01c8233daf0c10c70f016e
parent343c821d105b13a12bb934ae8bca2db59ecb6676
This patch adds a checking of wrong parameter into xm dmesg command.
If wrong parameter is given, xm dmesg command shows the following
error messages.

Error: No parameter required
Usage: xm dmesg [-c|--clear]

Read and/or clear Xend's message buffer.
  -c, --clear                    Clear dmesg buffer

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
tools/python/xen/xm/main.py